package com.ytd.common.net;


/**
 * 网络请求返回类
 *
 * @author gaoguanchao
 * @since 2023/4/18
 */
public interface NetCallBack<T> {
    void onSuccess(T result);

    void onFail(int code, String msg);
}
